package com.tarena.dubbo.server.service;

import com.tarena.dubbo.server.StockApi;

import java.io.IOException;

public class StockService implements StockApi {
    public void reduceStock(String num){
        System.out.println("成功减少库存 "+num+"个");
    }

    @Override
    public void returnStock(String num) throws IOException {

    }
}
